from flask import Flask, render_template
from flask_cors import CORS

app = Flask(__name__)
# 允许跨域
CORS(app)
@app.route('/')
def index():
    return render_template('d06_options.html')
@app.route('/index2')
def index2():
    return 'index2'
if __name__=='__main__':
    app.run(debug=True)